home *** CD-ROM | disk | FTP | other *** search
/ PC Player 2004 May / pc player 2004-05.iso / Demos / FarCry / Data1.cab / _D38C8427BA384EFFB89764936CF3321A < prev    next >
Encoding:
Text File  |  2004-01-06  |  324 b   |  16 lines

  1.       #include "../CGVPMacro.csi"
  2.  
  3.       MainInput { uniform sampler2D baseMap : texunit0 }
  4.       DeclarationsScript
  5.       {
  6.         OUT_T0
  7.         FOUT
  8.       }
  9.       CoreScript
  10.       {
  11.         // load the decal
  12.         float4 decalColor = tex2D(baseMap, IN.Tex0.xy);
  13.         OUT.Color = decalColor;
  14.       }
  15.  
  16.